package servlet;

import java.util.Date;

public class User {
    private String id;       // 用户名
    private String name;     // 姓名
    private String password; // 密码
    private String email;    // 邮箱
    private String gender;   // 性别
    private Date birthday;   // 生日
    private String lans;     // 擅长语言

    // Getter 和 Setter 方法
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getLans() {
        return lans;
    }

    public void setLans(String lans) {
        this.lans = lans;
    }
}